﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace CoreEx.Database.MetaData.Implementation.Generation
{
    public abstract class CommentGeneratorBase
    {
        protected string GetCommentFriendlyMemberDescription(string memberName)
        {
            var result = Regex.Replace(memberName, "([A-Z)", " $1", RegexOptions.Compiled).Trim();
            return result;
        }
    }
}
